package com.online.olsrootserver.service.impl;

import com.online.olsrootserver.entity.Agent;
import com.online.olsrootserver.master.AgentMapper;
import com.online.olsrootserver.service.AgentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by littleheng on 2018/5/3
 */
@Service
public class AgentServiceImpl implements AgentService {

    @Autowired
    private AgentMapper agentMapper;

    @Override
    public Agent getAgentByPassword(String account, String password) {
        return this.agentMapper.getAgentByPassword(account, password);
    }
}